***Replication analysis for Politics & Gender article:
**"The Gendered Risks of Violating Expectations and the Importance of Information for Women Candidates.  


*Table 1 (In-Party Preference (OLS))
regress IPPref InitIPCandPref i.Treatments#FemCand


*Table 1 (In-Party Vote(Logit)) and Table 2/Figure 1 Predicted Probabilities of an in-party vote
logit IPVote InitIPCandPref i.Treatments#FemCand
margins Treatments#FemCand
marginsplot, recast(bar) 

***Observational analysis looking at candidate information views by in-party gender
*Table 3
tab IPEditviewed FemCand, chi2 column
tab IPEducviewed  FemCand, chi2 column
tab IPFamviewed  FemCand, chi2 column
tab IPPolExpviewed  FemCand, chi2 column
tab IPSocPhilviewed  FemCand, chi2 column
tab IPEconPhilviewed  FemCand, chi2 column
tab IPClimChngviewed  FemCand, chi2 column
tab IPEnergyviewed  FemCand, chi2 column
tab IPGunCntlviewed  FemCand, chi2 column
tab IPTaxesviewed  FemCand, chi2 column
tab IPCrimeviewed  FemCand, chi2 column
tab IPEducStncviewed  FemCand, chi2 column
tab IPJobsviewed  FemCand, chi2 column
tab IPTerrorviewed  FemCand, chi2 column
tab IPDefBudgviewed  FemCand, chi2 column
tab NewsMFview  FemCand if Control==0, chi2 column
tab OPEditviewed  FemCand, chi2 column
tab OPEducviewed  FemCand, chi2 column
tab OPFamviewed  FemCand, chi2 column
tab OPPolExpviewed  FemCand, chi2 column
tab OPSocPhilviewed  FemCand, chi2 column
tab OPEconPhilviewed  FemCand, chi2 column
tab OPClimChngviewed  FemCand, chi2 column
tab OPEnergyviewed  FemCand, chi2 column
tab OPGunCntlviewed  FemCand, chi2 column
tab OPTaxesviewed  FemCand, chi2 column
tab OPCrimeviewed  FemCand, chi2 column
tab OPEducStncviewed  FemCand, chi2 column
tab OPJobsviewed  FemCand, chi2 column
tab OPTerrorviewed  FemCand, chi2 column
tab OPDefBudgviewed FemCand, chi2 column

*Table 4
**Sept Analysis w/Info
regress SeptIPPref InitIPCandPref IPSeptItemsViewed OPSeptItemsViewed if FemCand==0

regress SeptIPPref InitIPCandPref IPSeptItemsViewed OPSeptItemsViewed if FemCand==1

*Table 5
***Oct Analysis w/Info
*****Congruent Policy
regress OctIPPref SeptIPPref IPEconPhil2 IPOctItemsViewed OPEconPhil2 OPOctItemsViewed if FemCand==0 & PolicyCong==1
regress OctIPPref SeptIPPref IPEconPhil2 IPOctItemsViewed OPEconPhil2 OPOctItemsViewed if FemCand==1 & PolicyCong==1

*****Incongruent Policy
regress OctIPPref SeptIPPref IPEconPhil2 IPOctItemsViewed OPEconPhil2 OPOctItemsViewed if FemCand==0 & PolicyCong==0
regress OctIPPref SeptIPPref IPEconPhil2 IPOctItemsViewed OPEconPhil2 OPOctItemsViewed if FemCand==1 & PolicyCong==0


*Table 6
***Nov Analysis w/Info
regress IPPref OctIPPref NewsMFview IPNovItemsViewed OPNovItemsViewed if FemCand==0 & MFConds==0
regress IPPref OctIPPref NewsMFview IPNovItemsViewed OPNovItemsViewed if FemCand==1 & MFConds==0

regress IPPref OctIPPref NewsMFview IPNovItemsViewed OPNovItemsViewed if FemCand==0 & MFConds==1
regress IPPref OctIPPref NewsMFview IPNovItemsViewed OPNovItemsViewed if FemCand==1 & MFConds==1

regress IPPref OctIPPref NewsMFview IPNovItemsViewed OPNovItemsViewed if FemCand==0 & MFConds==2
regress IPPref OctIPPref NewsMFview IPNovItemsViewed OPNovItemsViewed if FemCand==1 & MFConds==2

regress IPPref OctIPPref NewsMFview IPNovItemsViewed OPNovItemsViewed if FemCand==0 & MFConds==3
regress IPPref OctIPPref NewsMFview IPNovItemsViewed OPNovItemsViewed if FemCand==1 & MFConds==3

regress IPPref OctIPPref NewsMFview IPNovItemsViewed OPNovItemsViewed if FemCand==0 & MFConds==4
regress IPPref OctIPPref NewsMFview IPNovItemsViewed OPNovItemsViewed if FemCand==1 & MFConds==4

***Appendix

**Appendix B: Demographics
sum Age LibCon PartyID7
tab1 Race Hispanic Sex Educ LibCon PartyID7 PartyID3 Rep

**Appendix F: Attention and Manipulation Checks
**Table F1. How realistic do you find the candidates?
tab Realistic

**Table F2. How realistic do you find the candidates, by Treatment
tab Treatment Realistic, row

**Table F3. Did you notice any incongruent policy stances?
tab  PolicyInc Manip1Con, row

**Table F4. Did you see any of these scandals during the campaign? 
tab MFCond2 Manip3MF2, row
